//
//  Function05_VC.m
//  Hwi_Library_Demo
//
//  Created by Jeonghwi Kim on 13. 7. 8..
//  Copyright (c) 2013년 KDML. All rights reserved.
//

#import "Function05_VC.h"


@implementation Function05_VC
- (IBAction)on_btn_back:(id)sender
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (IBAction)on_textfield01_input_change:(id)sender
{
    
    if([self.hwi hwi05_is_contain_string:self.label01_sentence_for_compare.text query_string:self.textfield01_input.text])
    {
        self.label02_result.text = @"Contain!";
    }
    else
    {
        self.label02_result.text = @"Not contain!";
    }
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.hwi = [Hwi get_instance];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
